package com.authine.cloudpivot.ext.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Collection;
import java.util.List;

/**
 * @program: gm-market
 * @description: 商城商品列表分页
 * @author: wlw
 * @create: 2021-08-09 17:54
 **/
@Data
@Schema(description = "ShopPageQuery")
public class ShopPageQuery {
    @Schema(description = "页码")
    private int pageIndex = 1;
    @Schema(description = "每页数量")
    private int pageSize = 20;
    @Schema(description = "条件选项每页数量")
    private int attrLimit = 20;
    @Schema(description = "条件选项页码")
    private int attrPage = 1;
    @Schema(description = "类型分页查询 1:品牌 2:型号 3:规格 4:name")
    private Integer attrType;
    @Schema(description = "类目")
    private String catalog;
    @Schema(description = "发货地")
    private String deliveryPlace;
    @Schema(description = "关键字")
    private String keyword;
    @Schema(description = "是否精选")
    private Integer mallFeatured;
    @Schema(description = "品牌条件集合")
    private List<String> brands;
    @Schema(description = "型号条件集合")
    private List<String> models;
    @Schema(description = "规格条件集合")
    private List<String> specs;
    @Schema(description = "价格排序")
    private Integer sortType;


}
